﻿//using Microsoft.Data.SqlClient;
using MyMES.Domain.W.Liststructure;
using MySql.Data.MySqlClient;
using System.Data;

namespace MyMES.Infrastructure
{
    public class DatabaseContext
    {
        private string connectionString;
        public IDbConnection Connection { get; set; }
        //mysql数据库
        public DatabaseContext(string settings)
        {
            connectionString = settings;
            Connection = new MySqlConnection(connectionString);
        }
    }
}
